﻿using NUnit.Framework;

namespace Dgg.LearnYourTools.NUnit.B_DataTesting.b_Values
{
	[TestFixture]
	public class _013_ValueSource
	{
		[Test, Sequential]
		public void ValuesSource_Property(
			[ValueSource("d1Values")]double d1,
			[ValueSource("d2Values")]double d2)
		{
			Assert.AreEqual(d2, d1 * 8);
		}

		internal double[] d1Values = new[] { 2d, 4d, 8d };
		internal double[] d2Values = new[] { 16d, 32d, 64d };
	}
}
